/*
 * 环境配置封装
 */
const env = import.meta.env.MODE || 'prod'
const EnvConfig = {
  dev: {
    baseApi: '/api',
    mockApi: 'https://api.virapi.com/vir_gitee51f5baah31a9/manager',
    mockToken: '$2a$10$weXAPzWqBARwlwlOEL8egujdKEvTRsgQI/YQrsoMuJRQWLEutz6/6',
  },
  test: {
    baseApi: '//test.futurefe.com/api',
    mockApi: 'https://api.virapi.com/vir_gitee51f5baah31a9/manager',
    mockToken: '$2a$10$weXAPzWqBARwlwlOEL8egujdKEvTRsgQI/YQrsoMuJRQWLEutz6/6',
  },
  prod: {
    baseApi: '//futurefe.com/api',
    mockApi: 'https://api.virapi.com/vir_gitee51f5baah31a9/manager',
    mockToken: '$2a$10$weXAPzWqBARwlwlOEL8egujdKEvTRsgQI/YQrsoMuJRQWLEutz6/6',
  },
}
export default {
  env,
  namespace: 'manager',
  mock: false,
  ...EnvConfig[env],
}
